
def post(url):
    import requests

    # ls = "0123456789"
    # names = "abcdefghigklmnopqrstuvwxyz"
    data = {
        "name": "xhm",
        "email": "320822007@qq.com",
        "password": "159180"
    }
    data1 = {
        "name": "xhm",
        "password": "159180"
    }
    res = requests.post("http://127.0.0.1:8000{}".format(url), json=data)
    # res = requests.post("http://127.0.0.1:8000/users/login", json=data1)

    print(res.status_code)
    print(res.content)
